<?php
/**
 * 文章
 * @author yulipu
 */
include LIB_PATH . 'Action/YAction.class.php';
class ArticleAction extends YAction {
	public function __construct() {
		parent::__construct();
	}
	
	public function index() {
		$data = D('Article')->getListByPage();
		$pageString = $data['pageString'];
		unset($data['pageString']);
		$this->assign('pageString', $pageString);
		$this->assign('data', $data);
		
		$this->display();
	}
}